<template>
  <div>
    <Header></Header>
    <div class="wrapper">
      <h2 v-if="error.statusCode == 404">Error 404</h2>
      <h2 v-else>Error 500</h2>
      <nuxt-link to="/">Home</nuxt-link>
    </div>
    <Footer></Footer>
  </div>
</template>

<script>
export default {
  props: ['error']
}
</script>
<style scoped lang="scss">
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
}

.wrapper {
  width: 1920px;
  min-height:1020px ;
  padding-top: 100px;
  background-color: #FFFFFF;
}


</style>